﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DangNhap.aspx.cs" Inherits="DangNhap" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .auto-style1
        {
        }
        .auto-style2
        {
            width: 449px;
            height: 26px;
        }
        .auto-style3
        {
            height: 26px;
        }
        .auto-style4
        {
            width: 449px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div style="font-size: xx-large; background-color: #0000FF; color: #FFFFFF; text-align: center">
            Đăng nhập
        </div>
        <div style="height: 360px">

            <table style="width: 100%; height: 80px;">
                <tr>
                    <td class="auto-style1" colspan="2">
                        <asp:Label ID="lblKiemTra" runat="server" Font-Size="Large" ForeColor="Red" Text="Tên đăng nhập hoặc mật khẩu không đúng" Visible="False"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="auto-style4">Tên đăng nhập</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style4">
                        <asp:TextBox ID="txtTenDN" runat="server" Width="200px" OnTextChanged="txtTenDN_TextChanged"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTenDN" ErrorMessage="Chưa nhập" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style4">
                        Mật khẩu</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style2">
                        <asp:TextBox ID="txtMK" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtMK" ErrorMessage="Chưa nhập" ForeColor="Red">(*)</asp:RequiredFieldValidator>
                    </td>
                    <td class="auto-style3"></td>
                </tr>
                <tr>
                    <td class="auto-style4" style="font-size: medium">
                        Bạn chưa có tài khoản hãy
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/DangKi.aspx">Đăng kí</asp:HyperLink>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="auto-style4">
                        <asp:Button ID="btnDangNhap" runat="server" BackColor="#3399FF" BorderColor="#0099FF" Font-Size="Large" ForeColor="White" Height="41px" Text="Đăng nhập" Width="109px" OnClick="Button1_Click" />
                    </td>
                    <td>&nbsp;</td>
                </tr>
            </table>

        </div>
    
    </div>
    </form>
</body>
</html>
